package com.sxbbc.common.core.entity.jz;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 物流提鸡
 * </p>
 *
 * @author 
 * @since 2020-04-08
 */
@Data
public class ChickenLogisticsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 预约店铺id
     */
    private Integer bid;

    /**
     * 用户id
     */
    private Integer cid;
    /**
     * 提鸡数量
     */
    private Integer num;

    /**
     * 运费
     */
    private BigDecimal expMoney;

    /**
     * 提鸡券标题,多个通过逗号分隔
     */
    private String ccTitles;

    /***
     * 提醒发货状态   0  未提醒  1 提醒发货
     */
    private Integer remindSend;
    /**
     * 订单号
     */
    private String orderCode;

    /**
     * 支付单号
     */
    private String payCode;

    /**
     * 订单状态 0已退款 1 已取消 5提交订单，待支付   10已支付，待发货，15已发货，待收货，20已收货，待评价，25交易结束
     */
    private Integer orderStatus;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 发货时间
     */
    private LocalDateTime sendTime;

    /**
     * 收货时间
     */
    private LocalDateTime receivedTime;


    @TableField(exist = false)
    private String login;

    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private String orderStatusName;


    @TableField(exist = false)
    private String queryTime;

    @TableField(exist = false)
    private String start;

    @TableField(exist = false)
    private String end;

    /**
     * 发货单id
     */
    @TableField(exist = false)
    private Integer expId;

}
